package com.tanqidi.arcgisandroid.data.layerConfig

class Field {
    companion object {
        const val SHOW_TYPE_INPUT = "输入"
        const val SHOW_TYPE_SELECT = "选择"

        const val STYLE_TYPE_SELECT = "下拉选择框"
        const val STYLE_TYPE_CHIP = "按钮组"

        const val INPUT_TYPE_INT = "int"
        const val INPUT_TYPE_DOUBLE = "double"
        const val INPUT_TYPE_STRING = "string"
    }

    //显示样式
    var styleType = STYLE_TYPE_CHIP
    //输入样式
    var showType = SHOW_TYPE_INPUT

    var alias = ""
    var field = ""
    var type = INPUT_TYPE_STRING

    var defaultValue = ""

    //子属性元数据
    var metadataList = ArrayList<Field>()
}